// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'

import './permission' // 路由验证

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/style/index.scss'
import './assets/fonts/iconfont.css'
// import $ from 'jquery'
import echarts from "echarts"

import VideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
import 'vue-video-player/src/custom-theme.css'
Vue.use(VideoPlayer)

Vue.use(ElementUI)

Vue.config.productionTip = false

/* eslint-disable no-new */
window.Vue =  new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
  // render:h => h(App)
})
